package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "数据权限查询条件")
public class UserRoleScopeDTO implements Serializable{


	@ApiModelProperty(value = "用户id")
	@NotNull(message = "用户id不能为空!")
	private Long userId;

	@ApiModelProperty(value = "0集团1站点权限")
	@NotNull(message = "类型不能为空!")
	private Integer type;
}
